package club.caihappy.dao;

import club.caihappy.pojo.Books;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 百岁 on 2021/9/14
 **/

public interface BookService {

    int addBook(Books book);

    int deleteBookById( int id);

    int updateBook(Books book);

    Books queryBookById(int id);

    List<Books> queryAllBooks();

    Books queryByName(String bookName);

}
